/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package com.lifesting.wfs.runtime;

import com.lifesting.wfs.model.Node;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Token</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.lifesting.wfs.runtime.Token#getChildren <em>Children</em>}</li>
 *   <li>{@link com.lifesting.wfs.runtime.Token#getParent <em>Parent</em>}</li>
 *   <li>{@link com.lifesting.wfs.runtime.Token#getPlace <em>Place</em>}</li>
 *   <li>{@link com.lifesting.wfs.runtime.Token#getProcessInstance <em>Process Instance</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.lifesting.wfs.runtime.RuntimePackage#getToken()
 * @model
 * @generated
 */
public interface Token extends EObject {
	/**
	 * Returns the value of the '<em><b>Children</b></em>' containment reference list.
	 * The list contents are of type {@link com.lifesting.wfs.runtime.Token}.
	 * It is bidirectional and its opposite is '{@link com.lifesting.wfs.runtime.Token#getParent <em>Parent</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Children</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Children</em>' containment reference list.
	 * @see com.lifesting.wfs.runtime.RuntimePackage#getToken_Children()
	 * @see com.lifesting.wfs.runtime.Token#getParent
	 * @model opposite="parent" containment="true"
	 * @generated
	 */
	EList<Token> getChildren();

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link com.lifesting.wfs.runtime.Token#getChildren <em>Children</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' container reference.
	 * @see #setParent(Token)
	 * @see com.lifesting.wfs.runtime.RuntimePackage#getToken_Parent()
	 * @see com.lifesting.wfs.runtime.Token#getChildren
	 * @model opposite="children" transient="false"
	 * @generated
	 */
	Token getParent();

	/**
	 * Sets the value of the '{@link com.lifesting.wfs.runtime.Token#getParent <em>Parent</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Parent</em>' container reference.
	 * @see #getParent()
	 * @generated
	 */
	void setParent(Token value);

	/**
	 * Returns the value of the '<em><b>Place</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Place</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Place</em>' reference.
	 * @see #setPlace(Node)
	 * @see com.lifesting.wfs.runtime.RuntimePackage#getToken_Place()
	 * @model
	 * @generated
	 */
	Node getPlace();

	/**
	 * Sets the value of the '{@link com.lifesting.wfs.runtime.Token#getPlace <em>Place</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Place</em>' reference.
	 * @see #getPlace()
	 * @generated
	 */
	void setPlace(Node value);

	/**
	 * Returns the value of the '<em><b>Process Instance</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link com.lifesting.wfs.runtime.ProcessInstance#getRootToken <em>Root Token</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Process Instance</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Process Instance</em>' container reference.
	 * @see #setProcessInstance(ProcessInstance)
	 * @see com.lifesting.wfs.runtime.RuntimePackage#getToken_ProcessInstance()
	 * @see com.lifesting.wfs.runtime.ProcessInstance#getRootToken
	 * @model opposite="rootToken" transient="false"
	 * @generated
	 */
	ProcessInstance getProcessInstance();

	/**
	 * Sets the value of the '{@link com.lifesting.wfs.runtime.Token#getProcessInstance <em>Process Instance</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Process Instance</em>' container reference.
	 * @see #getProcessInstance()
	 * @generated
	 */
	void setProcessInstance(ProcessInstance value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	void signal(String to);

} // Token
